package cn.yh.st.core.service.impl;

import java.util.List;

import javax.annotation.Resource;

import org.springframework.stereotype.Service;

import com.github.abel533.entity.Example;

import cn.yh.st.core.dao.EbBrandDao;
import cn.yh.st.core.domain.EbBrand;
import cn.yh.st.core.service.EbBrandService;

@Service
public class EbBrandServiceImpl implements EbBrandService {

	@Resource
	private EbBrandDao ebBrandDao;

	@Override
	public List<EbBrand> listAll() {
		Example example = new Example(EbBrand.class);
		return ebBrandDao.selectByExample(example);
	}
}
